/*
 *
 * <p>IndexAction.java</p>
 *   
 * Created on 2009-7-28 by sunan
 *
 * $Log:$
 */

package cn.hs.blog.base;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class IndexAction extends BaseAction {

    /**
     * 
     */
    private static final long serialVersionUID = 6722957189595903153L;

    @Override
    public void execute(HttpServletRequest req, HttpServletResponse resp)
        throws IOException {
        
        System.out.println("IndexAction");
//        resp.setContentType("application/doc;charset=UTF-8");
//        resp.setHeader("Content-Disposition", "attachment;filename=\"" + "test.doc"+"\" ");
//        resp.getWriter().append("���ģ�����");
        resp.sendRedirect("/blog/article/Article.do?method=listForPage");

    }

}
